package com.kingmed.kmss.common.dto.admin.sys;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

@Getter
@Setter
@ApiModel(description = "消息查询条件")
public class MsgQueryDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("每页显示条数，默认 10")
    protected long size = 10;

    @ApiModelProperty("当前页")
    protected long current = 1;

    @ApiModelProperty("站内消息类型（1=系统消息，2=异常提醒，3=流程审批消息）")
    private Integer msgType;

    @ApiModelProperty("是否已读：0=未读、1=已读、空=全部")
    private Integer msgRead;

}
